package com.itheima.service;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Management;
import com.itheima.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

public interface OrderSettingService {
    public void add(List<OrderSetting> data);
    public List<Map> getOrderSettingByMonth(String date);
    public void editNumberByDate(OrderSetting orderSetting);
    //分页查询

    public PageResult pageQuery(QueryPageBean queryPageBean);

    void add1(Management management, Integer[] checkgroupIds);

    void delete(Integer order_id);

    PageResult findByQueryString(Map<String,String> map);

     public void editStatus(Management management);

    void edit(Management management);

    Management findByOrder(Management management);

    int findSetmealIdsByOrderId(Integer id);

    void edit1(Map<String, String> map, Integer setmeal_id);
}
